namespace Seagull.DAL.Utils
{
    public class CombinedFrameDataCoercer : FrameDataCoercer
    {
        private readonly FrameDataCoercer _first;
        private readonly FrameDataCoercer _second;

        public CombinedFrameDataCoercer(FrameDataCoercer first, FrameDataCoercer second )
        {
            _first = first;
            _second = second;
        }

        public override void Coerce(byte[] frameData)
        {
            _first.Coerce(frameData);
            _second.Coerce(frameData);
        }
    }
}